• Welcome to Valhalla Legends Archive.
 

Compile Error

Started by DeSigN, January 12, 2003, 10:38 AM

Previous topic - Next topic

DeSigN

i made a bot and i cant compile it. the error i get is Compile Error:
Ambiguous name detected : WritePrivateProfileString

anyone know hwo to fix that?    :-/

Coltz

#1
try changing its name

Dark-Feanor

#2
Which program are you compiling it with, and in which language?
- Feanor[xL]
clan exile
Firebot
iago: "caps lock is like cruise control for cool"

Mesiah / haiseM

#3
based on the error format, id guess vb

try checking your source to make sure you have the call done correctly, or if you have it more than once.

Public Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As Any, ByVal lpFileName As String) As Long
that is what the call should look like in vb...
]HighBrow Innovations
Coming soon...

AIM Online Status: