Hello list, an aplication writen in VB makes use of this libraries.

Declare Function RegisterWindowMessage& Lib "user32" Alias "RegisterWindowMessageA" (ByVal lpString As CString)
 return RegisterWindowMessage(lpString )

Declare Function GlobalAddAtom% Lib "kernel32" Alias _
       "GlobalAddAtomA" (ByVal lpString As String)

How do I have to properly convert them to RealBasic? Other functions not using & and % have no problems but this give me the following errors when converted

Code    FSUIPC.RegisterWindowMessage, line 00002    Syntax error.

Also what return type should I assing to those function?

******************************************************
This message has been scanned for viruses and
dangerous content by Kypus Server Appliance E-Mail
Protection Service, and is believed to be clean.
******************************************************

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to