Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / March 2006

Tip: Looking for answers? Try searching our database.

Urgent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Filipe - 18 Mar 2006 19:48 GMT
Hi All,

I need to convert a char array to a char pointer.. it's urgente
someone could help me.. I'm using libnet and the parameter to the
function libnet_init is a char pointer...

My code:

       char *device;
    char str[20];
    strcpy(str, "192.168.0.101");
    device = str;
      libnet_init(LIBNET_RAW4,
        device, error);

It's don't works.. strcpy don't convert correctly??

Someone help me please

Thanks

Filipe

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Stoitcho Goutsev (100) - 20 Mar 2006 15:24 GMT
Filipe,

Does it have anything to do with .NET and managed applications?

Signature

Stoitcho Goutsev (100)

> Hi All,
>
[quoted text clipped - 22 lines]
> Sent via .NET Newsgroups
> http://www.dotnetnewsgroups.com 

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.