🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #17302

Re: GetWindowsDirectory in C

#17302
From: micz
Date: Sun, 09 Jan 2000 00:00
48 lines
1632 bytes
Dat is alleszins geen correcte C wat daar staat..
Kennelijk probeer je een soort mix te maken van de declaratie van een
functie en het oproepen ervan.
probeer eens :

#include <windows.h>

 int main(void)
{
  char Buffer[200];
  GetWindowsDirectory(Buffer,200);

}

Dergelijke functies kunnen normaal probleemloos in een console applicatie
opgeroepen worden.

groeten,
zmic



Gigabyte <Gigabyte@coderz.net> schreef in berichtnieuws
joSc4.2892$E92.22253@afrodite.telenet-ops.be...
> Kan ik GetWindowsDirectory gebruiken in console applicaties? Indien zo,
wat
> is er mis met deze code?
>
> char Buffer[200];
>  UINT GetWindowsDirectory(
>   LPTSTR lpBuffer,Buffer
>   UINT uSize,200
>  );
>
> Ik gebruik deze includes:
> #include <stdio.h>
> #include <string.h>
> #include <iostream>
> #include <window.h>
>
> Thanks,
> --
> Gigabyte
>
> http://www.coderz.net/gigabyte
>
>
>
Technical Details
Message-ID: <XyZd4.2115$SC2.19640@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <joSc4.2892$E92.22253@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,ac2d4d31629f3b18
X-Google-Attributes: gidfcea4,public
From: "micz" <micz@usa.net>
Subject: Re: GetWindowsDirectory in C
Date: 2000/01/09
Message-ID: <XyZd4.2115$SC2.19640@afrodite.telenet-ops.be>
X-Deja-AN: 570295838
References: <joSc4.2892$E92.22253@afrodite.telenet-ops.be>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@pandora.be
X-Trace: afrodite.telenet-ops.be 947414327 213.224.11.150 (Sun, 09 Jan 2000 11:38:47 MET)
Organization: Pandora-- Met vlotte tred op Internet
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sun, 09 Jan 2000 11:38:47 MET
Newsgroups: be.comp.programming